package com.bjdd.jdy.ui.orderDetail;

import com.bjdd.jdy.base.BaseModel;
import com.bjdd.jdy.base.BasePresenter;
import com.bjdd.jdy.base.BaseResult;
import com.bjdd.jdy.base.BaseView;
import com.bjdd.jdy.entity.OrderBean;

import rx.Observable;

/**
 * Created by Administrator on 2017/5/3.
 */

public interface OrderDetailContract {
    interface Model extends BaseModel{
        Observable<BaseResult<OrderBean>> getOrderInfo(String token,String orderNo);
    }
    interface View extends BaseView{
        void infoBack(OrderBean orderBean);
    }
    abstract class Presenter extends BasePresenter<Model,View>{
        abstract void getOrderInfo(String orderNo);
    }
}
